export function saveorder(orders = []) {
  sessionStorage.setItem('orders', JSON.stringify(orders))
}

export function getorder() {
  console.log(sessionStorage.getItem('orders'))
  return JSON.parse(sessionStorage.getItem('orders') || '[]')
}